<?php

namespace app\admin\controller;

use app\admin\services\ExpressService;
use think\App;
use think\facade\Cache;

class Root extends \app\BaseController
{
    protected $middleware=[
        'CheckTokenMiddleware'
    ];
    public function __construct(App $app)
    {
        parent::__construct($app);

    }

    public function express(){
        $p=$this->request->get();
        $p['area']=Cache::store('userInfo')->get('ADMIN_USERINFO_'.$this->request->adminUid)['area'];
        ExpressService::groupCount($p);
    }
}
